package com.team.engine.permission.dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.team.engine.basedao.BaseEntity;

/**
 * 模块操作类型关联，表实体
 * @author MengLH
 * @data 2010-8-4
 */
@Entity
@Table(name="t_module")
public class TModuleOperator extends BaseEntity {

	/**
	 * 标识符主键
	 */
	@Id
	private Long Id;

	/**
	 * 模块Id
	 */
	@Column(name="module_id")
	private int moduleId;
	
	/**
	 * 操作Id
	 */
	@Column(name="operator_id")
	private int operatorId;
	
	public Long getId() {
		return Id;
	}

	public void setId(Long id) {
		Id = id;
	}
	
	public int getModuleId() {
		return moduleId;
	}

	public void setModuleId(int moduleId) {
		this.moduleId = moduleId;
	}

	public int getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(int operatorId) {
		this.operatorId = operatorId;
	}
}
